#define _CRT_SECURE_NO_WARNINGS 1
//#include<iostream>
//using namespace std;
//int main()
//{
//    double m, n, x, y, z;
//    cin >> m >> n;
//    x = (n * 8 * m - m * 6 * n) / (n - m);
//    y = (8 * m - 6 * n) / (m - n);
//    z = (double)x / (10 - y);
//    cout << "Original number of visitors: ";
//    printf("%.1lf\n", x);
//    cout << "New arriavlas per minute: ";
//    printf("%.1lf\n", y);
//    cout << "Check time when 10 gates are opened: ";
//    printf("%.1lf\n", z);
//    return 0;
//#include<iostream>
//using namespace std;
//int main()
//{
//    double c, f;
//    cin >> f;
//    c = 5 * (f - 32) / 9;
//    printf("%.1lf", c);
//    return 0;
//}
////}
//
//#include<iostream>
//using namespace std;
//int main()
//{
//    int n;
//    cin >> n;
//    int s = n / 5;
//    printf("Everyone have %d apples.\n", n / 5);
//    printf("%d apples have been taken in total.\n", s * 5);
//    s = s * 5;
//    printf("returned %d apples to the teacher.", n - s);
//    return 0;
//}